package com.kuaiyin;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

@Slf4j
@EnableCaching //开启缓存
@ServletComponentScan
@MapperScan("com.kuaiyin.mapper")
@SpringBootApplication(scanBasePackages = {"com.kuaiyin"})
public class ParentApplication {

    public static void main(String[] args) {
        SpringApplication.run(ParentApplication.class, args);
        log.info("自动化接口平台启动成功");
    }

}
